package com.baitengsoft.patentapimonitor.api.dao;

import com.baitengsoft.patentapimonitor.api.entity.SysAdminUserTokenEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 系统用户Token
 * 
 * @author KennyGu
 */
@Mapper
public interface SysAdminUserTokenDao extends BaseDao<SysAdminUserTokenEntity> {
    
    SysAdminUserTokenEntity queryByUserId(Long userId);

    SysAdminUserTokenEntity queryByToken(String token);
	
}
